package com.up.stores.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.up.stores.entity.Collection;
import com.up.stores.vo.CollectionVO;

import java.util.List;

public interface CollectionMapper extends BaseMapper<Collection> {
    /*查询某管理员的收藏夹数据*/
    List<CollectionVO> findCollectionVOByAdmId(Integer admId);

    /*查询某用户的收藏夹数据*/
    List<CollectionVO> findCollectionVOByNorId(Integer norId);
}
